#ifndef _DARWIN_SYSVAR_HPP_
#define _DARWIN_SYSVAR_HPP_

typedef pthread_mutex_t _mutex_t;
typedef semaphore_t _sem_t;

typedef struct {
	int relative;
	pthread_condattr_t	attr;
	pthread_cond_t		c;
	pthread_mutex_t		mutex;
}_cond_t;

typedef struct { //unix .....no found  ==> myself devlop
 	unsigned threshold;
 	unsigned in;
  	unsigned out;
	pthread_mutex_t mutex;
	pthread_cond_t cond;
}_barrier_t;


typedef pthread_rwlock_t _rwlock_t;

#endif
